describe('抛出异常', () => {
  before(()=>{
    cy.exec('node main.js',{ failOnNonZeroExit: false })
  })


  beforeEach(()=>{
    cy.visit('http://localhost:3000/demo-time.html');
  })

  it('抛出异常',()=>{
    throw new Error('This is a custom error message.');
  })
})